//创建组合注解
package com.tcy.anno;

import com.tcy.config.CommonImportSelector;
import org.springframework.context.annotation.Import;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;


@Target(ElementType.TYPE)//注解在类上可用
@Retention(RetentionPolicy.RUNTIME)//创建的注解保留在运行时阶段
@Import(CommonImportSelector.class)
public @interface EnableCommonConfig {
}
